import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { DictExploreShopItemInfoHelper } from "./DictExploreShopItemInfoHelper";
type int = number;
//class SExploreShopInfo
    
    export  class SExploreShopInfo extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SExploreShopInfo();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.shopType);
            DictExploreShopItemInfoHelper.write(arg1, this.exploreItems);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.shopType = arg1.readInt();
            this.exploreItems = DictExploreShopItemInfoHelper.read(arg1);
            return;
        }

        public /* const */_type: int=12481;

        public /* var */shopType: int;

        public /* var */exploreItems: Map<any, any> /* flash.utils.Dictionary */;

        public static /* var */_regist: SExploreShopInfo;
    }

            SExploreShopInfo._regist = new SExploreShopInfo(true);
        